package com.ruoyi.voucher.domain.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.voucher.domain.dto.TemplateSummarySubject;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @description: 凭证响应对象
 * @author: Yuan
 * @create: 2025-02-27 18:37
 **/
@Data
public class VoucherRespDTO {

    private Long detailId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date voucherDate;
    private String voucherNo;
    private Long accessoryNum;
    private String userName;
    private String auditName;
    private Long isVoid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;
    private List<TemplateSummarySubject> details;

}
